package ScreensManager.GameScreens
{
	import flash.display.MovieClip;
	import flash.events.MouseEvent;
	import ScreensManager.Screen;
	import ScreensManager.Screens;
	import ScreensManager.GameScreens.ButtonScreen
	import ScreensManager.*;
	import Utils.Constants;
	/**
	 * ...
	 * @author Danilo Gama
	 */
	public class MainMenu extends Screen
	{
		private var btnStart:ButtonScreen;
		private var btnRanking:ButtonScreen;
		private var btnEditor:ButtonScreen;
		
		public function MainMenu()
		{
			btnStart = new ButtonScreen(new BtnStart(), Screens.GAME_SCREEN, this.width / 4, -90 , null);
			btnRanking = new ButtonScreen(new BtnRanking(), Screens.RANKING_SCREEN, this.width / 4, 0 , null);
			btnEditor = new ButtonScreen(new BtnEditor(), Screens.EDITOR_SCREEN, this.width / 4, 90 , null);
			
		}
		
		override public function drawScreen():void
		{
			Main.getInstance().addChild(this);
			
			this.x = Main.getInstance().stage.stageWidth / 2;
			this.y = Main.getInstance().stage.stageHeight / 2;
			
			this.addChild(btnStart);
			this.addChild(btnRanking);
			this.addChild(btnEditor);
		}
	}
}